package com.sskj.zixun.bean;

import java.util.List;

/**
 * ProjectName：
 * DESC: 平台公告 实体类
 * Created by lez on 2018/4/25 14:26
 * updateName:
 * updateTime:
 * updateDesc:
 */
public class PlatFormInfoBean {
    private List<InfoBean> list;

    public boolean isLastPage() {
        return isLastPage;
    }

    public void setLastPage(boolean lastPage) {
        isLastPage = lastPage;
    }

    private boolean isLastPage;  // false最后一页

    public List<InfoBean> getList() {
        return list;
    }

    public void setList(List<InfoBean> list) {
        this.list = list;
    }

    public class InfoBean {
        private boolean isTop;  // 用于标识交易规则
        private int id;
        private String userId;
        private String title;
        private String imgCover;
        private String source;
        private String createTime;
        private int status;
        private long timestamp;
        private String details;

        @Override
        public String toString() {
            return "PlatFormInfoBean{" +
                    "id=" + id +
                    ", userId='" + userId + '\'' +
                    ", title='" + title + '\'' +
                    ", imgCover='" + imgCover + '\'' +
                    ", source='" + source + '\'' +
                    ", createTime='" + createTime + '\'' +
                    ", status=" + status +
                    ", timestamp=" + timestamp +
                    ", details='" + details + '\'' +
                    '}';
        }

        public boolean getIsTop() {
            return isTop;
        }

        public void setIsTop(boolean isTop) {
            this.isTop = isTop;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUserId() {
            return userId == null ? "" : userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getTitle() {
            return title == null ? "" : title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getImgCover() {
            return imgCover == null ? "" : imgCover;
        }

        public void setImgCover(String imgCover) {
            this.imgCover = imgCover;
        }

        public String getSource() {
            return source == null ? "" : source;
        }

        public void setSource(String source) {
            this.source = source;
        }

        public String getCreateTime() {
            return createTime == null ? "" : createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public long getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(long timestamp) {
            this.timestamp = timestamp;
        }

        public String getDetails() {
            return details == null ? "" : details;
        }

        public void setDetails(String details) {
            this.details = details;
        }
    }


}
